package com.cherish.pattern.delegate.simple;

/**
 * @Classname DelegateTest
 * @Date 2019/4/7 22:06
 * @Author admin
 * @Description TODO
 */
public class DelegateTest {

    public static void main(String[] args) {
        new Boss().doing("登陆",new Leader());
        new Boss().doing("加密",new Leader());
    }

}
